package com.chaos.dao;

import com.chaos.domain.Cartoon;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CartoonMapper {
    Cartoon selectByPrimaryKey(Integer id);

    List<Cartoon> selectAll();

    int updateByPrimaryKey(Cartoon cartoon);
}